<template>
    <div class="goBack" @click="goBack">
        <i class="icon iconfont iconbacktoindex"></i>
    </div>
</template>

<script>
export default {
    name:'goBack',
    data() {
        return {
            
        }
    },
    
    mounted() {
       
    },
    methods:{
     goBack(){
         this.$router.go(-1);
     }
    }
}
</script>

<style>
.goBack{
    position: absolute;
    top: 0;
    left: 10px;
}
.goBack i{
    color: #9c9c9c;
    font-size: 26px;
}
</style>
